package com.rich.house.feign;

import com.alipay.api.AlipayApiException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author HanSama
 * @date 2021年09月05日 19:35
 */
@FeignClient("rich-third-part")
@RequestMapping("/aliPay")
public interface AliPayFeign {


    @RequestMapping(value = "/payOrder",produces = "text/html")
    public String payOrder(@RequestParam("id") Long id) throws AlipayApiException;






}
